//
//  HJRefreshFooter.m
//  KaiChat
//
//  Created by lx on 2023/10/17.
//

#import "HJRefreshFooter.h"

@implementation HJRefreshFooter

- (instancetype)initWithFrame:(CGRect)frame {
    if (self = [super initWithFrame:frame]) {
           [self setTitle:@"Loading.." forState:MJRefreshStateRefreshing];
           [self setTitle:@"At the end" forState:MJRefreshStateNoMoreData];
           [self setTitle:@"Pull up to load more" forState:MJRefreshStateIdle];
            self.stateLabel.textColor = UIColor.tj_999999Color;
            self.stateLabel.font = UIFontMake(13);
//            self.loadingView.activityIndicatorViewStyle = UIActivityIndicatorViewStyleWhiteLarge;
    }
    return self;
}


- (void)placeSubviews {
    [super placeSubviews];
        
    self.loadingView.transform = CGAffineTransformMakeScale(0.8, 0.8);
}
 

@end
